]> dgit.raspbian.org Git - gnome-shell.git/commit
osdWindow: Allow label and level to be null
authorStuart Hayhurst <stuart.a.hayhurst@gmail.com>
Sun, 27 Aug 2023 18:25:42 +0000 (19:25 +0100)
committerFlorian Müllner <fmuellner@gnome.org>
Mon, 28 Aug 2023 17:16:11 +0000 (17:16 +0000)
commit215282a320ca8f2b44b950191bed193db2fe4f0c
treedaf8433dd070d0e937d3d0f07f37f3a5062599ae
parent2bb64bc3c4dc0065090b9c5595113e8595f9e85d
osdWindow: Allow label and level to be null

Allow passing 'null' to setLevel and setLabel, so 'null' and 'undefined'
behave the same way.

Fixes a regression introduced by a42f7c23, which caused parts of old
notifications to persist into new notifications, or elements being
incorrectly made visible

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2917>
js/ui/osdWindow.js